body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container1 img {
    height: 50px;
    max-width: 1200px;
    position: relative;
    left: 331px;
}

/* Header styles */
header {
    background-color: rgb(231, 140, 4);
    color: #fff;
    padding: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    max-width: 1200px;
    position: relative;
    left: 331px;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #f7f7f7;
}

/* Maintop section styles */
.maintop {
    background-image: url("Background\ Image.jpg");
    background-position: center;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maintop-text {
    text-align: center;
    color: #fff;
    position: relative;
    top: 60px;
}

.maintop h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px rgb(49, 49, 49);
}

@media (max-width: 768px) {
    /* Adjust font size for screens up to 768px wide */
    .maintop h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    /* Adjust font size for screens up to 480px wide */
    .maintop h1 {
        font-size: 2rem;
    }
}

.maintop p {
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px rgb(49, 49, 49);
}

@media (max-width: 768px) {
    /* Adjust font size for screens up to 768px wide */
    .maintop p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Adjust font size for screens up to 480px wide */
    .maintop p {
        font-size: 1rem;
    }
}

.maintop a.button {
    display: inline-block;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.maintop a.button:hover {
    background-color: #f7f7f7;
}

/* Category section styles */

.categories {
    background-color: #333;
    display: flex;
}

.categories h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
    padding-top: 20px;
    width: 100%;
}

.category-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    width: calc(25% - 20px);
    margin-bottom: 40px;
    position: relative;
}

.category img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    transition: all 0.3s ease;
}

.category-text h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.category-text a.button {
    display: block;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.category-text a.button:hover {
    background-color: #f7f7f7;
}

.category:hover .category-text {
    bottom: -50px;
}

@media (max-width: 768px) {
    .category-container {
        justify-content: center; /* Center align the category items */
    }

    .category {
        width: calc(50% - 10px); /* Adjust the width of category elements to fit smaller screens */
        margin-right: 10px; /* Add margin between category elements */
    }

    .category:nth-child(2n) {
        margin-right: 0; /* Remove margin for the last category element in a row */
    }
}

/* Reviews section styles */

.realDogs {
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
}

.realDogs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.review {
    width: 200px;
    margin: 10px;
}

.review p {
    font-size: 1.3em;
}

.review img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Section Heading */
.realDogs h2 {
    font-size: 2em;
    margin-bottom: 20px;
    background-color: #ffffff;
}

/* Footer styles */
footer {
    background-color: rgb(231, 140, 4);
    color: #000000;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-text {
    font-weight: bold;
    position: relative;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.footer-links a:hover {
    color: #000000;
}

.footer-social {
    margin-top: 20px;
}

.footer-social ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-social li {
    margin-right: 10px;
}

.footer-social a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #000000;
}

.footer-text h3 {
    color: #000000;
    font-size: 2em;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .container1 img,
    nav ul {
        left: 0;
    }

    .maintop-text {
        top: 0;
    }

    .footer-text {
        text-align: left; /* Align footer text to the left */
        margin-top: 20px; /* Add margin to separate it from the footer links */
        left: 0;
    }
    
    .footer-links ul {
        left: 0;
    }
}